﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Schedule.Cron.Exceptions
{
    /// <summary>
    /// Exception thrown when an error occurs during parsing or evaluating a Cron expression.
    /// </summary>
    public sealed class CronException : FormatException
    {
        public CronException(string message) : base(message)
        {

        }

        public CronException(Exception ex, string message) : base(message, ex)
        {

        }

        public CronException(string message, Exception ex) : base(message, ex)
        {

        }
    }
}
